<admintpl file="headerEx" />
<title>{:L('ADMIN_SLIDECAT_INDEX')}</title>

<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet" />
</head>

<!-- Placed js at the end of the document so the pages load faster -->
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content" >
		<!--body wrapper start-->
		<div class="wrapper">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li class="active"><a href="{:U('slidecat/index')}"><i class="fa fa-list-ul"></i> {:L('ADMIN_SLIDECAT_INDEX')}</a></li>
								<li><a href="{:U('slidecat/add')}"><i class="fa fa-plus"></i> {:L('ADMIN_SLIDECAT_ADD')}</a></li>
							</ul>
						</header>
						<div class="panel-body">
							<section class="panel">
								<form class="form-horizontal js-ajax-form form-horizontal " role="form" method="post" action="{:U('term/listorders')}">
									<table class="table table-hover table-bordered">
										<thead>
										<tr>
											<th width="50">ID</th>
											<th>{:L('NAME')}</th>
											<th>{:L('CATEGORY_KEY')}</th>
											<th>{:L('DESCRIPTION')}</th>
											<th width="120">{:L('ACTIONS')}</th>
										</tr>
										</thead>
										<tbody>
										<tr>
											<td>0</td>
											<td>{:L('DEFAULT_CATEGORY')}</td>
											<td></td>
											<td>{:L('DEFAULT_CATEGORY')}</td>
											<td>{:L('NOT_ALLOWED_EDIT')}</td>
										</tr>
										<foreach name="slidecats" item="vo">
											<tr>
												<td>{$vo.cid}</td>
												<td>{$vo.cat_name}</td>
												<td>{$vo.cat_idname}</td>
												<td>{$vo.cat_remark}</td>
												<td>
													<a href="{:U('slidecat/edit',array('id'=>$vo['cid']))}">{:L('EDIT')}</a>|
													<a href="{:U('slidecat/delete',array('id'=>$vo['cid']))}" class="js-ajax-delete">{:L('DELETE')}</a>
												</td>
											</tr>
										</foreach>
										</tbody>
									</table>
									</form>
							</section>
						</div>
					</section>
				</div>
			</div>
		</div>

	</div>
	</div>
	</div>
	<!--body wrapper end-->

	<!--footer section start-->
	<footer>
		<admintpl file="copyright" />
	</footer>
	<!--footer section end-->

	</div>
	<!-- main content end-->
</section>
<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/simpleboot/bootstrap/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>
<script src="__PUBLIC__/js/ajaxForm.js"></script>

<script type="text/javascript" src="__PUBLIC__/TciocEx/js/jquery.validate.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-localization/messages_zh.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-init.js"></script>
</body>
</html>